import request from '@/utils/request'

// 查询支付结算列表
export function listPayments(query) {
  return request({
    url: '/system/payment/list',
    method: 'get',
    params: query
  })
}

// 查询支付结算详细
export function getPayment(id) {
  return request({
    url: '/system/payment/' + id,
    method: 'get'
  })
}

// 查询支付结算统计
export function getPaymentStats() {
  return request({
    url: '/system/payment/stats',
    method: 'get'
  })
} 